package org.example.service;

import com.alibaba.fastjson.JSONArray;
import com.baomidou.mybatisplus.extension.service.IService;
import jakarta.annotation.Resource;
import org.example.JavaBean.plus.Emp;
import org.example.util.JsonResult;
import org.springframework.data.redis.core.StringRedisTemplate;
import org.springframework.stereotype.Service;

/**
 * @Auther:Liu
 * @Testname:EmpService
 * @Date:2025/8/12 10:31
 */
@Service
public interface EmpService extends IService<Emp> {

    JsonResult findEmpById(Integer id);


    JsonResult deleteEmpById(Integer id);

    JsonResult updateEmp(Emp emp);

    JsonResult findEmpById2(Integer id);

    JsonResult deleteEmpById2(Integer id);

    JsonResult updateEmp2(Emp emp);


    JsonResult findPage(int page);

    JsonResult findPage1(int page);

    JsonResult findPage2(int page);

    JsonResult deletePage2(int id);

    JsonResult updatePage2(Emp emp);

}
